<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户列表</title>
</head>
<body>
	<table border="1">
		<tr>
			<td>ID</td>
			<td>NAME</td>
			<td>PASSWORD</td>
		</tr>
		<s:iterator value="#users">
			<tr>
				<td> <s:property value="id"/> </td>
				<td> <s:property value="name"/></td>
				<td> <s:property value="password"/></td>
				<td> 
				<a  href="/user_edit?user.id=<s:property value="id"/>">编辑</a>
				<a  href="/user_delete?user.id=<s:property value="id"/>">删除</a>
				</td>
			</tr>

		</s:iterator>
	</table>
</body>
</html>